package com.jgame.secondarymarket.interfaces.dto.product;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @title: ProductPropertiesDTO
 * @Author Wangsj
 * @Date: 2021/7/22
 */
@Data
@ApiModel(description = "商品属性")
public class ProductPropertiesDTO {

    @ApiModelProperty(value = "商品属性名称")
    @NotNull(message = "商品属性名称不能为空")
    private String tage;


    @ApiModelProperty(value = "商品属性值")
    @NotNull(message = "商品属性值不能为空")
    private String value;
}
